package com.entity.view;

import com.baomidou.mybatisplus.annotations.TableName;
import com.entity.JiashuEntity;
import org.apache.commons.beanutils.BeanUtils;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;

@TableName("jiashu")
public class JiashuView extends JiashuEntity  implements Serializable {
    private static final long serialVersionUID = 1L;
    public JiashuView(){
    }


    public JiashuView(JiashuEntity jiashuEntity){
        try{
            BeanUtils.copyProperties(this,jiashuEntity);
        }catch(IllegalAccessException | InvocationTargetException e){
            e.printStackTrace();
        }
    }

}
